package cn.hhhy.pojo;

import lombok.Data;

@Data
public class Result {
    private boolean flag; // 返回结果
    private Object data; // 返回数据
    private String message; //返回消息

    public Result(boolean flag, String message) {
        this.flag = flag;
        this.message = message;
    }
    public Result(boolean flag,String message, Object data) {
        this.flag = flag;
        this.data = data;
        this.message = message;
    }
}
